﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_Contract_Cancel : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int ContractCancelID { get { return fCONTRACTID; } set { fCONTRACTID = value; EntityState.FieldChange("ContractID"); } } private int fCONTRACTID; public static FieldInfo _ContractID = new FieldInfo("t_smd_Contract", "ContractID");
        [Column]
        public int? StoreID { get { return fStoreID; } set { fStoreID = value; EntityState.FieldChange("StoreID"); } } private int? fStoreID; public static FieldInfo _StoreID = new FieldInfo("t_smd_Contract", "StoreID");
        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("t_smd_Contract", "AuthID");
        [Column]
        public string StoreCancelContractSN { get { return fStoreCancelCONTRACTSN; } set { fStoreCancelCONTRACTSN = value; EntityState.FieldChange("StoreCancelContractSN"); } } private string fStoreCancelCONTRACTSN; public static FieldInfo _StoreCancelContractSN = new FieldInfo("t_smd_Contract", "StoreCancelContractSN");
        [Column]
        public double? StoreCancelDeposit { get { return fStoreCancelDEPOSIT; } set { fStoreCancelDEPOSIT = value; EntityState.FieldChange("StoreCancelDeposit"); } } private double? fStoreCancelDEPOSIT; public static FieldInfo _StoreCancelDeposit = new FieldInfo("t_smd_Contract", "StoreCancelDeposit");
        [Column]
        public string StoreCancelContractType { get { return fStoreCancelCONTRACTTYPE; } set { fStoreCancelCONTRACTTYPE = value; EntityState.FieldChange("StoreCancelContractType"); } } private string fStoreCancelCONTRACTTYPE; public static FieldInfo _StoreCancelContractType = new FieldInfo("t_smd_Contract", "StoreCancelContractType");
        [Column]
        public DateTime? StoreCancelContractBeginDate { get { return fStoreCancelCONTRACTBEGINDATE; } set { fStoreCancelCONTRACTBEGINDATE = value; EntityState.FieldChange("StoreCancelContractBeginDate"); } } private DateTime? fStoreCancelCONTRACTBEGINDATE; public static FieldInfo _StoreCancelContractBeginDate = new FieldInfo("t_smd_Contract", "StoreCancelContractBeginDate");
        [Column]
        public DateTime? StoreCancelContractEndDate { get { return fStoreCancelCONTRACTENDDATE; } set { fStoreCancelCONTRACTENDDATE = value; EntityState.FieldChange("StoreCancelContractEndDate"); } } private DateTime? fStoreCancelCONTRACTENDDATE; public static FieldInfo _StoreCancelContractEndDate = new FieldInfo("t_smd_Contract", "StoreCancelContractEndDate");
        [Column]
        public string HasAwardContract { get { return fHASAWARDCONTRACT; } set { fHASAWARDCONTRACT = value; EntityState.FieldChange("HasAwardContract"); } } private string fHASAWARDCONTRACT; public static FieldInfo _HasAwardContract = new FieldInfo("t_smd_Contract", "HasAwardContract");
        [Column]
        public DateTime? AwardContractBeginDate { get { return fAWARDCONTRACTBEGINDATE; } set { fAWARDCONTRACTBEGINDATE = value; EntityState.FieldChange("AwardContractBeginDate"); } } private DateTime? fAWARDCONTRACTBEGINDATE; public static FieldInfo _AwardContractBeginDate = new FieldInfo("t_smd_Contract", "AwardContractBeginDate");
        [Column]
        public DateTime? AwardContractEndDate { get { return fAWARDCONTRACTENDDATE; } set { fAWARDCONTRACTENDDATE = value; EntityState.FieldChange("AwardContractEndDate"); } } private DateTime? fAWARDCONTRACTENDDATE; public static FieldInfo _AwardContractEndDate = new FieldInfo("t_smd_Contract", "AwardContractEndDate");
        [Column]
        public string HasTransferContract { get { return fHASTRANSFERCONTRACT; } set { fHASTRANSFERCONTRACT = value; EntityState.FieldChange("HasTransferContract"); } } private string fHASTRANSFERCONTRACT; public static FieldInfo _HasTransferContract = new FieldInfo("t_smd_Contract", "HasTransferContract");
        [Column]
        public string TransferFromStoreCancelSN { get { return fTRANSFERFROMStoreCancelSN; } set { fTRANSFERFROMStoreCancelSN = value; EntityState.FieldChange("TransferFromStoreCancelSN"); } } private string fTRANSFERFROMStoreCancelSN; public static FieldInfo _TransferFromStoreCancelSN = new FieldInfo("t_smd_Contract", "TransferFromStoreCancelSN");
        [Column]
        public string TransferToStoreCancelSN { get { return fTRANSFERTOStoreCancelSN; } set { fTRANSFERTOStoreCancelSN = value; EntityState.FieldChange("TransferToStoreCancelSN"); } } private string fTRANSFERTOStoreCancelSN; public static FieldInfo _TransferToStoreCancelSN = new FieldInfo("t_smd_Contract", "TransferToStoreCancelSN");
        [Column]
        public DateTime? TransferContractDate { get { return fTRANSFERCONTRACTDATE; } set { fTRANSFERCONTRACTDATE = value; EntityState.FieldChange("TransferContractDate"); } } private DateTime? fTRANSFERCONTRACTDATE; public static FieldInfo _TransferContractDate = new FieldInfo("t_smd_Contract", "TransferContractDate");
        [Column]
        public string HasRenewContract { get { return fHASRENEWCONTRACT; } set { fHASRENEWCONTRACT = value; EntityState.FieldChange("HasRenewContract"); } } private string fHASRENEWCONTRACT; public static FieldInfo _HasRenewContract = new FieldInfo("t_smd_Contract", "HasRenewContract");
        [Column]
        public DateTime? RenewContractBeginDate { get { return fRENEWCONTRACTBEGINDATE; } set { fRENEWCONTRACTBEGINDATE = value; EntityState.FieldChange("RenewContractBeginDate"); } } private DateTime? fRENEWCONTRACTBEGINDATE; public static FieldInfo _RenewContractBeginDate = new FieldInfo("t_smd_Contract", "RenewContractBeginDate");
        [Column]
        public DateTime? RenewContractEndDate { get { return fRENEWCONTRACTENDDATE; } set { fRENEWCONTRACTENDDATE = value; EntityState.FieldChange("RenewContractEndDate"); } } private DateTime? fRENEWCONTRACTENDDATE; public static FieldInfo _RenewContractEndDate = new FieldInfo("t_smd_Contract", "RenewContractEndDate");
        [Column]
        public bool? SubmitToFinancial { get { return fSUBMITTOFINANCIAL; } set { fSUBMITTOFINANCIAL = value; EntityState.FieldChange("SubmitToFinancial"); } } private bool? fSUBMITTOFINANCIAL; public static FieldInfo _SubmitToFinancial = new FieldInfo("t_smd_Contract", "SubmitToFinancial");
        [Column]
        public string ContractArchive { get { return fCONTRACTARCHIVE; } set { fCONTRACTARCHIVE = value; EntityState.FieldChange("ContractArchive"); } } private string fCONTRACTARCHIVE; public static FieldInfo _ContractArchive = new FieldInfo("t_smd_Contract", "ContractArchive");
        [Column]
        public string CancelRemark { get { return fCancelRemark; } set { fCancelRemark = value; EntityState.FieldChange("CancelRemark"); } } private string fCancelRemark; public static FieldInfo _CancelRemark = new FieldInfo("t_smd_Contract", "CancelRemark");
        [Column]
        public string StoreCancelNature { get { return fStoreCancelNATURE; } set { fStoreCancelNATURE = value; EntityState.FieldChange("StoreCancelNature"); } } private string fStoreCancelNATURE; public static FieldInfo _StoreCancelNature = new FieldInfo("t_smd_Contract", "StoreCancelNature");
        [Column]
        public string StoreCancelAffiliation { get { return fStoreCancelAFFILIATION; } set { fStoreCancelAFFILIATION = value; EntityState.FieldChange("StoreCancelAffiliation"); } } private string fStoreCancelAFFILIATION; public static FieldInfo _StoreCancelAffiliation = new FieldInfo("t_smd_Contract", "StoreCancelAffiliation");
        [Column]
        public string StoreCancelStamp { get { return fStoreCancelSTAMP; } set { fStoreCancelSTAMP = value; EntityState.FieldChange("StoreCancelStamp"); } } private string fStoreCancelSTAMP; public static FieldInfo _StoreCancelStamp = new FieldInfo("t_smd_Contract", "StoreCancelStamp");
        [Column]
        public string StoreCancelParty { get { return fStoreCancelPARTY; } set { fStoreCancelPARTY = value; EntityState.FieldChange("StoreCancelParty"); } } private string fStoreCancelPARTY; public static FieldInfo _StoreCancelParty = new FieldInfo("t_smd_Contract", "StoreCancelParty");
        [Column]
        public int? StoreCancelCopies { get { return fStoreCancelCOPIES; } set { fStoreCancelCOPIES = value; EntityState.FieldChange("StoreCancelCopies"); } } private int? fStoreCancelCOPIES; public static FieldInfo _StoreCancelCopies = new FieldInfo("t_smd_Contract", "StoreCancelCopies");
        [Column]
        public DateTime? StoreCancelExpressDate { get { return fStoreCancelEXPRESSDATE; } set { fStoreCancelEXPRESSDATE = value; EntityState.FieldChange("StoreCancelExpressDate"); } } private DateTime? fStoreCancelEXPRESSDATE; public static FieldInfo _StoreCancelExpressDate = new FieldInfo("t_smd_Contract", "StoreCancelExpressDate");
        [Column]
        public string StoreCancelEms { get { return fStoreCancelEMS; } set { fStoreCancelEMS = value; EntityState.FieldChange("StoreCancelEms"); } } private string fStoreCancelEMS; public static FieldInfo _StoreCancelEms = new FieldInfo("t_smd_Contract", "StoreCancelEms");
        [Column]
        public string ToStoreCancelEms { get { return fTOStoreCancelEMS; } set { fTOStoreCancelEMS = value; EntityState.FieldChange("ToStoreCancelEms"); } } private string fTOStoreCancelEMS; public static FieldInfo _ToStoreCancelEms = new FieldInfo("t_smd_Contract", "ToStoreCancelEms");
        [Column]
        public bool? StoreCancelFinance { get { return fStoreCancelFINANCE; } set { fStoreCancelFINANCE = value; EntityState.FieldChange("StoreCancelFinance"); } } private bool? fStoreCancelFINANCE; public static FieldInfo _StoreCancelFinance = new FieldInfo("t_smd_Contract", "StoreCancelFinance");
        [Column]
        public string StoreCancelArchive { get { return fStoreCancelARCHIVE; } set { fStoreCancelARCHIVE = value; EntityState.FieldChange("StoreCancelArchive"); } } private string fStoreCancelARCHIVE; public static FieldInfo _StoreCancelArchive = new FieldInfo("t_smd_Contract", "StoreCancelArchive");
        [Column]
        public bool? StoreCancelRegionReceive { get { return fStoreCancelRegionReceive; } set { fStoreCancelRegionReceive = value; EntityState.FieldChange("StoreCancelRegionReceive"); } } private bool? fStoreCancelRegionReceive; public static FieldInfo _StoreCancelRegionReceive = new FieldInfo("t_smd_Contract", "StoreCancelRegionReceive");
        [Column]
        public string StoreCancelFileNO { get { return fStoreCancelFileNO; } set { fStoreCancelFileNO = value; EntityState.FieldChange("StoreCancelFileNO"); } } private string fStoreCancelFileNO; public static FieldInfo _StoreCancelFileNO = new FieldInfo("t_smd_Contract", "StoreCancelFileNO");
        [Column]
        public string StoreCancelNotSignReason { get { return fStoreCancelNotSignReason; } set { fStoreCancelNotSignReason = value; EntityState.FieldChange("StoreCancelNotSignReason"); } } private string fStoreCancelNotSignReason; public static FieldInfo _StoreCancelNotSignReason = new FieldInfo("t_smd_Contract", "StoreCancelNotSignReason");

    }
}

